package org.jeecg.modules.fund.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@TableName("fund_search_history")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FundSearchHistory {
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private String id;
    private String userId;
    private String searchStr;
    private String code;
    private String name;
    private String fundId;
    private Date createTime;
    @TableField(exist = false)
    private int total;
}
